import instance from './axiosInstance'

export function reqLogin(username, password) {
  return instance.post('/login', { username, password })
}
export function reqVerifyToken() {
  const authorization =localStorage.getItem('authorization')
  return instance.post('/verifyToken', { authorization })
}
